/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.attence;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.attence.DutyRegister;

/**
 * @author Administrator (email:raulcsj@163.com)
 * @since 2013-01-31
 */
public interface DutyRegisterService {

    /****************************************
     * Insert a instace of DutyRegister
     ****************************************/
    void insert(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Insert instaces of DutyRegister
     ****************************************/
    void batchInsert(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Delete a instace of DutyRegister
     ****************************************/
    void delete(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Delete instaces of DutyRegister
     ****************************************/
    void batchDelete(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Update a instace of DutyRegister
     ****************************************/
    void update(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Query instaces of DutyRegister
     ****************************************/
    List<BaseModel> queryAsList(DutyRegister dutyregister) throws Exception;

    /****************************************
     * Query a instaces of DutyRegister
     ****************************************/
    BaseModel queryAsObject(DutyRegister dutyregister) throws Exception;
}
